gtktextview: Fix a definite use of an uninitialised variable
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 20 Nov 2013 17:33:59 +0000 (17:33 +0000)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 9 Mar 2015 13:41:37 +0000 (13:41 +0000)
commit4fc6880d8308b5ff69b72c23920fed75cf3f2661
tree446035b5c7a19415ca6b5b8a91633e977c5ea5d9
parent51971d56bc77644d380a1d7b175faaa807e59318
gtktextview: Fix a definite use of an uninitialised variable

This seems to have been a typo in the original code, and allowed access
to virtual_cursor_y when it was uninitialised.

Found by scan-build.

https://bugzilla.gnome.org/show_bug.cgi?id=712760
gtk/gtktextview.c